package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

// 问题详情表
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "questions")
public class Questions implements Serializable {

    private ObjectId id;
    private Long surveyId; // String类型， 问卷编号
    private Long questionId; // String类型， 问题编号
    private String questionName; // 问题名称

}
